package com.xiaodu.acer.phoneplay.presenter.contract;

import com.xiaodu.acer.phoneplay.bean.AppInfo;
import com.xiaodu.acer.phoneplay.bean.requestbean.AppsUpdateBean;

import java.util.List;

import io.reactivex.Observable;
import library.base.BaseBean;
import library.base.BaseModel;
import library.base.BaseView;

/**
 * @author 小杜
 *         邮箱:m15701207383@163.com
 * @version V1.0
 * @Description: ${TODO}(用一句话描述该文件做什么)
 * @date 2018/1/9 15:04
 */

public interface MainContract {

    interface View extends BaseView {

        void requestPermissonSuccess();
        void requestPermissonFail();

        void changeAppNeedUpdateCount(int count);
    }

    interface Model extends BaseModel {
        Observable<BaseBean<List<AppInfo>>> getUpdateApps(AppsUpdateBean param);
    }
}
